import React, { Component } from 'react';
// 导入样式组件
import { ChuanDiStyle } from './style2';

class ChuanDi extends Component {
    render() {
        return (
            <div>
                <ChuanDiStyle>原先的样式</ChuanDiStyle>
                <ChuanDiStyle bgColor={'yellow'} Size='30px'>传值的样式</ChuanDiStyle>
            </div>
        );
    }
}

export default ChuanDi;